package com.suny.AccountInfo.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

import java.io.Serializable;

@Schema(description = "登录DTO")
@Data
public class LoginDTO  implements Serializable {
  @Schema(description = "用户账号")
  @NotNull(message = "用户账号不能为空")
  private String account;
  @NotNull(message = "用户密码不能为空")
  @Schema(description = "用户密码")
  private String password;
}
